#encoding:utf-8
'''
Created on 2015��6��16��

@author: Doris
'''

import os
import time
'''
os.popen('adb devices')
os.popen('adb root')
os.popen('adb remount')
PATH = "F:\\yaya\\worksapce\\monkyrunner_python\\有道词典V4.0.3.apk" 
cmb = "adb install " + PATH +' /data/app'
'''
now = time.strftime("%Y-%m-%d-%H-%M-%S")
cmb = "adb logcat -v time > F:\\yaya\\worksapce\\monkyrunner_python\\log_"+now+".txt"
print cmb
os.popen(cmb)
